<div class="relative overflow-hidden group">
  <span class="invisible">Text Glitch</span>
  <span
    class="text-neutral-400 absolute top-0 left-0 group-hover:-translate-y-full transition-transform ease-in-out duration-500 hover:duration-300"
  >
    Text Glitch
  </span>
  <span
    class="text-neutral-400 absolute top-0 left-0 translate-y-full group-hover:translate-y-0 transition-transform ease-in-out duration-500 hover:duration-300"
  >
    Text Glitch
  </span>
</div>
